home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 272_01 / comexit.doc < prev    next >
Text File  |  1987-07-08  |  677b  |  39 lines

  1.  
  2.  
  3.         NAME
  4.                 common_exit -- terminate a program
  5.  
  6.         SYNOPSIS
  7.                 void common_exit(code);
  8.                 int code;     exit error code
  9.  
  10.  
  11.         DESCRIPTION
  12.         The program is terminated with the standard exit() function using
  13.         the specified code.  The advantage of using this function is that
  14.         the installable exit handler "exeunt()" is called before exit().
  15.  
  16.  
  17.  
  18.  
  19.  
  20.         EXAMPLE
  21.  
  22.                 common_exit(0);
  23.  
  24.  
  25.  
  26.         SEE ALSO:
  27.                 onexit() function to install a common exit routine.
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.         This function is found in SMDLx.LIB for the Datalight Compiler.
  39.